//
//  HomeTableCell.h
//  ZZmetro
//
//  Created by 一介布衣 on 2020/6/15.
//  Copyright © 2020 一介布衣. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class HomeTableCell;
@class FuncInfo;
@protocol RootCellDelegate <NSObject>

/**
 * 动态改变UITableViewCell的高度
 */
- (void)updateTableViewCellHeight:(HomeTableCell *)cell andheight:(CGFloat)height andIndexPath:(NSIndexPath *)indexPath;


/**
 * 点击UICollectionViewCell的代理方法
 */
- (void)didSelectItemAtIndexPath:(NSIndexPath *)indexPath withContent:(FuncInfo *)content;
@end

@interface HomeTableCell : UITableViewCell

@property (nonatomic, weak) id<RootCellDelegate> delegate;

@property (nonatomic, strong) NSIndexPath *indexPath;
@property (nonatomic, strong) NSArray *dataAry;

@end

NS_ASSUME_NONNULL_END
